﻿using MediatR;
using SupplyChain.ErrorCode;

namespace SupplyChain.Write.API.Application.Command.Goods
{
    public class AddGoodsCommand:IRequest<bool>
    {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? GoodsName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public long? GoodsCode { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string? Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? Path { get; set; }
    }
}
